import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterModule} from '@angular/router'
import {homeRoutes} from './home.routers'


import {HomeComponent} from './home.component';
//消息
import {MessageComponent} from './message/message.component';
//会员
import {MemberComponent} from './member/member.component';
//首页
import {HomepageComponent} from './homepage/homepage.component';
//晒图
import {PhotoComponent} from './photo/photo.component';
//我的
import {MineComponent} from './mine/mine.component';
import {WeUiModule} from 'ngx-weui';
import { PersonageComponent } from './mine/personage/personage.component';
import { MyPerformanceComponent } from './mine/my-performance/my-performance.component';
import { MyCouponComponent } from './mine/my-coupon/my-coupon.component';
import { AvatarComponent } from './mine/avatar/avatar.component';

import { HeadComponent } from '../head/head.component';


@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(homeRoutes),
    WeUiModule.forRoot()
  ],
  declarations: [
    HomeComponent,
    MessageComponent,
    MemberComponent,
    HomepageComponent,
    PhotoComponent,
    MineComponent,
    PersonageComponent,
    MyPerformanceComponent,
    MyCouponComponent,
    AvatarComponent,
    HeadComponent
  ],
  exports:[
  ]
})
export class HomeModule {
}
